| Conditions | 1 | 
| Total Lines | 6 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | import {Controller, Inject, UseGuards, Query, Get} from '@nestjs/common'; | 
            ||
| 17 | |||
| 18 | @Get()  | 
            ||
| 19 |   @ApiOperation({title: 'Get monthly events by user'}) | 
            ||
| 20 |   public async index(@Query() dto: MonthlyEventsDTO) { | 
            ||
| 21 | return await this.queryBus.execute(  | 
            ||
| 22 | new GetMonthlyEventsQuery(new Date(dto.date), dto.userId)  | 
            ||
| 23 | );  | 
            ||
| 26 |